package com.analyse.stock.mapper;

import com.analyse.stock.model.IndexInfoModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IndexInfoMapper extends BaseMapper<IndexInfoModel> {
    IndexInfoModel getIndexInfoByCode(@Param("indexCode") String indexCode);

    Integer updateIndexInfo(@Param("model") IndexInfoModel model);
}
